package com.xrkol.sharelib.dao;

import java.util.List;

import com.xrkol.sharelib.entity.ClientType;
import com.xrkol.sharelib.entity.ResponseLogType;
import com.xrkol.sharelib.entity.ResponseStatusLog;

/**
 * ResponseStatusLog DAO
 * 
 * @author Dipei.ruan
 *
 */
public interface ResponseStatusLogDao extends
		BaseDao<ResponseStatusLog, String> {

	/**
	 * 获取startTime及endTime之间的ResponseStatusLog
	 * 
	 * @param startTime
	 * @param endTime
	 * @param timeASC
	 * @param page
	 * @return
	 */
	public List<ResponseStatusLog> getListByTimestamp(Long startTime,
			Long endTime,ClientType clientType, boolean timeASC, Integer page);

	/**
	 * 获取startTime及endTime之间的ResponseStatusLog
	 * 
	 * @param startTime
	 * @param endTime
	 * @param timeASC
	 * @param success
	 * @param page
	 * @return
	 */
	public List<ResponseStatusLog> getListByTimestamp(Long startTime,
			Long endTime, ResponseLogType logType,ClientType clientType, boolean timeASC, Integer page);

}
